﻿namespace Basic.FlowRemoteModel.Application.Model
{
    public class JumpNode
    {
        public long NodeId
        {
            get;
            set;
        }
        public string NodeName
        {
            get;
            set;
        }
        public override bool Equals ( object? obj )
        {
            if ( obj is JumpNode i )
            {
                return i.NodeId == this.NodeId;
            }
            return false;
        }

        public override int GetHashCode ()
        {
            return this.NodeId.GetHashCode();
        }
    }
}
